<script>
	export default {
        globalData: {
            text: ""
        },
        onUniNViewMessage(e)
        {
          cosole.log(e);  
        },
		onLaunch: function() 
        {
			console.log('App Launch')
            uni.$on("postMsg", this.communicateWithVue)
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
        methods: {
            communicateWithVue(e)
             {
                 console.log("e.data: " + e.data + "; e.from: " + e.from);
             }
        }
	}
</script>

<style>
	@import "/common/uni.css";
	/* 第三方动画库 */
	@import "/common/animate.css";
	/* 自定义图标库 */
	@import "/common/icon.css";
	/* UI基础库 */
	@import "/common/zcm-main.css";
	/* 公共样式 */
	@import "/common/common.css";
    
	.uni-row {
		flex-direction: row;
	}
	
	.uni-column {
		flex-direction: column;
	}
</style>
